package com.mapper;

import com.entity.Plainrecord;
import com.entity.PlainrecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PlainrecordMapper {
    long countByExample(PlainrecordExample example);

    int deleteByExample(PlainrecordExample example);

    int deleteByPrimaryKey(Integer prid);

    int insert(Plainrecord record);

    int insertSelective(Plainrecord record);

    List<Plainrecord> selectByExample(PlainrecordExample example);

    Plainrecord selectByPrimaryKeyWithExplaindetailrecords(Integer prid);

    Plainrecord selectByPrimaryKey(Integer prid);

    int updateByExampleSelective(@Param("record") Plainrecord record, @Param("example") PlainrecordExample example);

    int updateByExample(@Param("record") Plainrecord record, @Param("example") PlainrecordExample example);

    int updateByPrimaryKeySelective(Plainrecord record);

    int updateByPrimaryKey(Plainrecord record);
}